package com.atstudent.gmall.common.feign.cart.fallback;

import com.atstudent.gmall.cart.vo.AddCartSuccessVo;
import com.atstudent.gmall.common.feign.cart.CartFeignClient;
import com.atstudent.gmall.common.result.Result;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author 薛有朋
 * @CreatDate 2025/4/8 20:11
 **/
@Slf4j
public class CartFeignClientFallback implements CartFeignClient {
    @Override
    public Result<AddCartSuccessVo> addCart(Long skuId, Integer skuNum) {
        log.info("CartFeignClientFallback...addCart执行了");
        return Result.ok();
    }

    @Override
    public Result deleteAllChecked() {
        log.info("CartFeignClientFallback...deleteAllChecked执行了");
        return Result.ok();
    }
}
